﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using Common;

namespace LMS.Admin.Helper
{
    public class DisplayCustom : DisplayNameAttribute
    {   
        private string _key;

        public DisplayCustom(string key)
        {
            this._key = key;
        }
        public override string DisplayName
        {
            get
            {
                return Functions.GlossaryKey(this._key, Variables.Language);

            }
        }
    }
}